#FROM livingobjects/jre8
#VOLUME /tmp
#
#ENV LANG en_US.UTF-8
#ENV LANGUAGE en_US:en
#ENV LC_ALL en_US.UTF-8
#
## 修改容器时区为北京时间
#RUN apk --no-cache add tzdata  && \
#    ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
#    echo "Asia/Shanghai" > /etc/timezone
#
#ADD turing-admin.jar app.jar
#ADD wait-for-it.sh /wait-for-it.sh
#RUN bash -c 'touch /app.jar'
#ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dfile.encoding=UTF-8","-jar","/app.jar"]
#
#
#
FROM java:8
MAINTAINER wuxw
VOLUME /tmp
ADD turing-admin.jar app.jar
# RUN bash -c 'touch /root/app.jar'
EXPOSE 8762
ENTRYPOINT ["java", "-Xmx512m","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]